package com.dd.dao;


import com.dd.pojo.Vip;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VipMapper {
    //查询
    List<Vip> selectVip();
    //添加
    int addvipuser(Vip vip);
    //修改
    int updateVipById(Vip vip);
    //删除
    int daletevipById(@Param("vip_id")int id);

    List<Vip> selectbyname(String name);

}
